// cover some element-ui styles

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
	font-weight: 400 !important;
}

.el-upload {
	input[type="file"] {
		display: none !important;
	}
}

.el-upload__input {
	display: none;
}


// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
	transform: none;
	left: 0;
	position: relative;
	margin: 0 auto;
}

// refine element ui upload
.upload-container {
	.el-upload {
		width: 100%;

		.el-upload-dragger {
			width: 100%;
			height: 200px;
		}
	}
}

// dropdown
.el-dropdown-menu {
	a {
		display: block
	}
}

// to fix el-date-picker css style
.el-range-separator {
	box-sizing: content-box;
}

.map-wrapper{
	.map-wrapper-content {
		margin-top: 10px;
		padding: 20px;
		border-radius: 8px;
		background: white;
	}
	.action-wrap {
		text-align: right;
		font-size: 0;
	}
	.pub-action-box {
		margin: 20px 0;
	}
	.main-table-box {
		.table .link {
			color: $color_link;
			cursor: pointer;
			margin-right: 6px;
			display: inline-block;
		}
		.pager-wrap {
			padding: 30px 16px;
			display: flex;
			justify-content: flex-end;
			align-items: center;
			background: white;
		}
	}
}

.el-button--primary {
	color: #fff !important;
	background-color: $color_link !important;
	border-color: $color_link !important;
	&:hover,
	&:active,
	&:visited,
	&.is-active {
	  color: #fff !important;
	  background-color: $color_main !important;
	  border-color: $color_main !important;
	}
	&.is-disabled {
	  color: #FFFFFF !important;
	  background: #C8C3FC !important;
	  border-color: #C8C3FC !important;
	}
  }